package top.infopub.mgr.flow.service;


import top.infopub.generic.GenericService;
import top.infopub.mgr.flow.domain.ProcessNodeDomain;
import top.infopub.mgr.flow.vo.ProcessNodeVo;
import top.infopub.model.flow.ProcessNode;

import java.util.List;


public interface ProcessNodeService extends GenericService<ProcessNode, String> {

    /** codegen **/

    /**
     * 查询用户待审批的流程节点
     * @param dealUserId 
     * @param srcBizTable 业务表单名  为空时查询所有
     * @return 
     * @see
     */
    List<ProcessNodeDomain> queryPendingProcNodes(String dealUserId, String srcBizTable);

    /**
     * 查询所有审批节点
     * @param processId
     * @return 
     * @see
     */
    List<ProcessNodeVo> queryAllProcNodes(String processId);

}